package com.xianzhiOA.bean;

import com.xianzhiOA.service.XzPlanService;
import com.xianzhiOA.valid.ValidById;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.GroupSequence;
import java.util.Date;
import java.util.List;

/**
 * plan
 *
 * @author 甘汝雷
 * @create 2017-04-19 10:17
 **/
public class XzPlan {
    private Long planId;
    private Long planProject;
    private String planName;
    private int planRank;
    private Date planStart;
    private Date planEnd;
    private String planDescribe;
    private Long planSuper;
    private String field1;
    private String field2;
    private String field3;
    private Date deleteTime;
    private int isdelete;
    private Date createTime;
    private String superName;
    private XzPlan plan;
    private XzProject project;
    private XzEmp emp;
    private XzEmp emp1;
    private String audit;
    private String official;
    private String projectName;

    public XzPlan getPlan() {
        return plan;
    }

    public void setPlan(XzPlan plan) {
        this.plan = plan;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getPlanProject() {
        return planProject;
    }

    public void setPlanProject(Long planProject) {
        this.planProject = planProject;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public int getPlanRank() {
        return planRank;
    }

    public void setPlanRank(int planRank) {
        this.planRank = planRank;
    }

    public Date getPlanStart() {
        return planStart;
    }

    public void setPlanStart(Date planStart) {
        this.planStart = planStart;
    }

    public Date getPlanEnd() {
        return planEnd;
    }

    public void setPlanEnd(Date planEnd) {
        this.planEnd = planEnd;
    }

    public String getPlanDescribe() {
        return planDescribe;
    }

    public void setPlanDescribe(String planDescribe) {
        this.planDescribe = planDescribe;
    }

    public Long getPlanSuper() {
        return planSuper;
    }

    public void setPlanSuper(Long planSuper) {
        this.planSuper = planSuper;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSuperName() {
        return superName;
    }

    public void setSuperName(String superName) {
        this.superName = superName;
    }

    public XzProject getProject() {
        return project;
    }

    public void setProject(XzProject project) {
        this.project = project;
    }

    public XzEmp getEmp() {
        return emp;
    }

    public void setEmp(XzEmp emp) {
        this.emp = emp;
    }

    public XzEmp getEmp1() {
        return emp1;
    }

    public void setEmp1(XzEmp emp1) {
        this.emp1 = emp1;
    }

    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    public String getOfficial() {
        return official;
    }

    public void setOfficial(String official) {
        this.official = official;
    }

    @Override
    public String toString() {
        return "XzPlan{" +
                "planId=" + planId +
                ", planProject=" + planProject +
                ", planName='" + planName + '\'' +
                ", planRank=" + planRank +
                ", planStart=" + planStart +
                ", planEnd=" + planEnd +
                ", planDescribe='" + planDescribe + '\'' +
                ", planSuper=" + planSuper +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                ", createTime=" + createTime +
                ", superName='" + superName + '\'' +
                ", project=" + project +
                ", emp=" + emp +
                ", emp1=" + emp1 +
                ", audit='" + audit + '\'' +
                ", official='" + official + '\'' +
                ", projectName='" + projectName + '\'' +
                '}';
    }

    //验证分组1
    public interface F1{

    }
    //验证分组2
    public interface F2{

    }
    //组序列
    @GroupSequence( { F1.class, F2.class })
    public interface Group {

    }
}
